package com.mlf.factory.easyFactory.demo;

import lombok.Data;

// 2. 具体实现类
@Data
public class Circle implements Shape {
    private Double radius;
    public Circle(Double radius) {
        this.radius = radius;
    }
    public Circle() {
    }
    @Override
    public void draw() {
        System.out.println("Drawing Circle");
    }
}